Clone file result instead of just getting contents

Closes #19

- Instead of just using "contents" for value, clone the whole file obj