Extract file extension from URL #2