Ensure R library script creation happens inside temporary directory instead of bare file in current directory: chapmanb/bcbio-nextgen#453