Added relative_path to upload fields. Fixes #269