Fix file paths issue on trim operation.
Merge pull request #14 from rblopes/fix-paths-trim

Fix file paths issue on trim operation.