Respect full source path

Respect full source path instead of appending just the filename to the destination directory.
Change regex to strip extension

Change the regex instead of using the raw filename, making sure the extension is stripped.
Merge pull request #5 from plestik/master

Respect full source path