Added support for optional error callback.
Added convinience function to make "camera upload" dir.
Added support for converting id to path.