From what I have read on the USCIS website, once they take your biometrics, you can request to receive it in the US Embassy, consulate or DHS of the country you'll be visiting. You still have to file it here in the US and wait for the biometrics appointment. Not sure about the timeline - some say it takes 6-8 weeks to get an appointment.