file_path_to_url enhancements

Modified the file_path_to_url  RegEx so that the matching is improved
and more flexible.
Merge pull request #14 from karlding/helper-improvements

file_path_to_url enhancements